package com.cuicuisha.gxyp.manager.mapper;

import com.cuicuisha.gxyp.model.dto.product.ProductDto;
import com.cuicuisha.gxyp.model.entity.product.Product;

import java.util.List;

/**
 * ClassName: ProductMapper
 * Description:
 *
 * @Author 脆脆鲨
 * @Create 2024-09-16 14:42
 * @Version 1.0
 */
public interface ProductMapper {

    List<Product> findByPage(ProductDto productDto);

    void save(Product product);

    Product selectById(Long id);

    void updateById(Product product);

    void deleteById(Long id);
}
